package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.presenter.ChildEatingRecordPresenter;

import okhttp3.RequestBody;

/**
 * Created by xu_xin
 * Created on 2020/10/22 0022
 * 记喂养
 */
public interface ChildEatingRecordContract {

    interface Model {

        void record(ChildEatingRecordPresenter presenter, String tenantId, String token, RequestBody body);
    }

    interface View extends BaseContract.view {

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void recordBreast(String tenantId, String token, String childId, String eventDate, float feedTimes);

        void recordBottle(String tenantId, String token, String childId, String eventDate, float feedBreastAmt);

        void recordDried(String tenantId, String token, String childId, String eventDate, float feedPowderedAmt);

        void recordHelp(String tenantId, String token, String childId, String eventDate, String eventContent, String pic1);

        void onSuccess(BaseBean baseBean);
    }
}